package com.jy.api.misc.dto;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class QuHuaDMDto {
	@JSONField(serializeUsing = ToStringSerializer.class)
	private Long id;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date chuangJianSJ;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date xiuGaiSJ;
	private String zuoFeiBZ;
	@ApiModelProperty(value = "类型：1省级 2地级 3县级 4乡级 5村级")
	private String leiXing;
	@ApiModelProperty(value = "名称")
	private String mingCheng;
	@ApiModelProperty(value = "统计用区划代码")
	private String quHuaDM;
	@ApiModelProperty(value = "城乡分类代码")
	private String chengXiangFLDM;
	@ApiModelProperty(value = "是否有孩子结点（0:否 1:是）")
	private Integer ziJieDian;
	@ApiModelProperty(value = "父id")
	@JSONField(serializeUsing = ToStringSerializer.class)
	private Long parentId;
}
